package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.Permission;

import java.util.List;

/**
 * @author wuzhouwei
 * @date 2020/4/13
 */
public interface PermissionService {
    List<Permission> findAll();

    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);

    Permission findByPermissionId(int permissionId);

    void delete(Integer id);

    void editPermission(Permission permission);

    void addPermission(Permission permission);
}
